package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;

@Data
@ApiModel("贺卡设置创建参数")
public class GreetingCardsSetCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "type参数缺失")
    @ApiModelProperty(value = "贺卡类型")
    private String type;

    @NotNull(message = "img参数缺失")
    @ApiModelProperty(value = "贺卡图片")
    private String img;

    @NotNull(message = "remark参数缺失")
    @ApiModelProperty(value = "备注")
    private String remark;

}
